home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 …ember: Reference Library / Dev.CD Dec 94.toast / Technical Documentation / Mac Tech Notes (DocViewer) / TE • Text / TE17 TextEdit Conversion < prev    next >
MacBinary  |  1994-10-19  |  7.4 KB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Mon Oct 17 11:22:57 1994, modified Wed Oct 19 10:25:07 1994, creator 'HLX2', type 'ONLN', 6015 bytes "TE17 TextEdit Conversion" , at 0x17ff 1321 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% dexmagic Picasso 64 Image default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 18 54 45 31 37 20 54 | 65 78 74 45 64 69 74 20 |..TE17 T|extEdit |
|00000010| 43 6f 6e 76 65 72 73 69 | 6f 6e 00 00 00 00 00 00 |Conversi|on......|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 00 17 7f 00 | 00 05 29 aa c8 47 51 aa |........|..)..GQ.|
|00000060| ca dc c3 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 3f 2c 00 00 |........|....?,..|
|00000080| 54 45 20 31 37 20 2d 20 | 54 65 78 74 45 64 69 74 |TE 17 - |TextEdit|
|00000090| 20 43 6f 6e 76 65 72 73 | 69 6f 6e 20 55 74 69 6c | Convers|ion Util|
|000000a0| 69 74 79 0d 54 65 78 74 | 09 09 0d 52 65 76 69 73 |ity.Text|...Revis|
|000000b0| 65 64 20 62 79 3a 09 09 | 4d 61 72 63 68 20 31 39 |ed by:..|March 19|
|000000c0| 38 38 0d 57 72 69 74 74 | 65 6e 20 62 79 3a 09 48 |88.Writt|en by:.H|
|000000d0| 61 72 76 65 79 20 41 6c | 63 61 62 65 73 09 41 70 |arvey Al|cabes.Ap|
|000000e0| 72 69 6c 20 31 39 38 35 | 0d 54 65 78 74 20 73 6f |ril 1985|.Text so|
|000000f0| 6d 65 74 69 6d 65 73 20 | 6d 75 73 74 20 62 65 20 |metimes |must be |
|00000100| 63 6f 6e 76 65 72 74 65 | 64 20 62 65 74 77 65 65 |converte|d betwee|
|00000110| 6e 20 61 20 50 61 73 63 | 61 6c 20 73 74 72 69 6e |n a Pasc|al strin|
|00000120| 67 20 61 6e 64 20 d2 70 | 75 72 65 d3 20 74 65 78 |g and .p|ure. tex|
|00000130| 74 20 69 6e 20 61 20 68 | 61 6e 64 6c 65 2e 20 54 |t in a h|andle. T|
|00000140| 68 69 73 20 6e 6f 74 65 | 20 69 6c 6c 75 73 74 72 |his note| illustr|
|00000150| 61 74 65 73 20 61 20 77 | 61 79 20 74 6f 20 64 6f |ates a w|ay to do|
|00000160| 20 74 68 69 73 20 75 73 | 69 6e 67 20 4d 50 57 20 | this us|ing MPW |
|00000170| 50 61 73 63 61 6c 2e 0d | 54 65 78 74 20 63 6f 6e |Pascal..|Text con|
|00000180| 74 61 69 6e 65 64 20 69 | 6e 20 54 65 78 74 45 64 |tained i|n TextEd|
|00000190| 69 74 20 72 65 63 6f 72 | 64 73 20 73 6f 6d 65 74 |it recor|ds somet|
|000001a0| 69 6d 65 73 20 6d 75 73 | 74 20 62 65 20 70 61 73 |imes mus|t be pas|
|000001b0| 73 65 64 20 74 6f 20 72 | 6f 75 74 69 6e 65 73 20 |sed to r|outines |
|000001c0| 77 68 69 63 68 20 65 78 | 70 65 63 74 20 61 20 50 |which ex|pect a P|
|000001d0| 61 73 63 61 6c 20 73 74 | 72 69 6e 67 20 6f 66 20 |ascal st|ring of |
|000001e0| 74 79 70 65 20 53 74 72 | 32 35 35 20 28 61 20 6c |type Str|255 (a l|
|000001f0| 65 6e 67 74 68 20 62 79 | 74 65 20 66 6f 6c 6c 6f |ength by|te follo|
|00000200| 77 65 64 20 62 79 20 75 | 70 20 74 6f 20 32 35 35 |wed by u|p to 255|
|00000210| 20 63 68 61 72 61 63 74 | 65 72 73 29 2e 20 54 68 | charact|ers). Th|
|00000220| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 4d 50 57 20 |e follow|ing MPW |
|00000230| 50 61 73 63 61 6c 20 75 | 6e 69 74 20 63 61 6e 20 |Pascal u|nit can |
|00000240| 62 65 20 75 73 65 64 20 | 74 6f 20 63 6f 6e 76 65 |be used |to conve|
|00000250| 72 74 20 62 65 74 77 65 | 65 6e 20 54 65 78 74 45 |rt betwe|en TextE|
|00000260| 64 69 74 20 72 65 63 6f | 72 64 73 20 61 6e 64 20 |dit reco|rds and |
|00000270| 50 61 73 63 61 6c 20 73 | 74 72 69 6e 67 73 3a 0d |Pascal s|trings:.|
|00000280| 09 55 4e 49 54 20 54 45 | 43 6f 6e 76 65 72 74 3b |.UNIT TE|Convert;|
|00000290| 0d 09 20 20 20 7b 47 65 | 6e 65 72 61 6c 20 75 74 |.. {Ge|neral ut|
|000002a0| 69 6c 69 74 69 65 73 20 | 66 6f 72 20 63 6f 6e 76 |ilities |for conv|
|000002b0| 65 72 73 69 6f 6e 20 62 | 65 74 77 65 65 6e 20 54 |ersion b|etween T|
|000002c0| 65 78 74 45 64 69 74 20 | 61 6e 64 20 73 74 72 69 |extEdit |and stri|
|000002d0| 6e 67 73 7d 0d 09 20 20 | 20 49 4e 54 45 52 46 41 |ngs}.. | INTERFA|
|000002e0| 43 45 0d 09 20 20 20 20 | 20 20 55 53 45 53 20 4d |CE.. | USES M|
|000002f0| 65 6d 54 79 70 65 73 2c | 51 75 69 63 6b 44 72 61 |emTypes,|QuickDra|
|00000300| 77 2c 4f 53 49 6e 74 66 | 2c 54 6f 6f 6c 49 6e 74 |w,OSIntf|,ToolInt|
|00000310| 66 3b 0d 09 20 20 20 20 | 20 20 50 52 4f 43 45 44 |f;.. | PROCED|
|00000320| 55 52 45 20 54 45 52 65 | 63 54 6f 53 74 72 28 68 |URE TERe|cToStr(h|
|00000330| 54 45 3a 20 54 45 48 61 | 6e 64 6c 65 3b 20 56 41 |TE: TEHa|ndle; VA|
|00000340| 52 20 73 74 72 3a 20 53 | 74 72 32 35 35 29 3b 0d |R str: S|tr255);.|
|00000350| 09 20 20 20 20 20 20 7b | 54 45 52 65 63 54 6f 53 |. {|TERecToS|
|00000360| 74 72 20 63 6f 6e 76 65 | 72 74 73 20 74 68 65 20 |tr conve|rts the |
|00000370| 54 65 78 74 45 64 69 74 | 20 72 65 63 6f 72 64 20 |TextEdit| record |
|00000380| 68 54 45 20 74 6f 20 74 | 68 65 20 73 74 72 69 6e |hTE to t|he strin|
|00000390| 67 20 73 74 72 2e 7d 0d | 09 20 20 20 20 20 20 7b |g str.}.|. {|
|000003a0| 49 66 20 6e 65 63 65 73 | 73 61 72 79 2c 20 74 68 |If neces|sary, th|
|000003b0| 65 20 74 65 78 74 20 77 | 69 6c 6c 20 62 65 20 74 |e text w|ill be t|
|000003c0| 72 75 6e 63 61 74 65 64 | 20 74 6f 20 32 35 35 20 |runcated| to 255 |
|000003d0| 63 68 61 72 61 63 74 65 | 72 73 2e 7d 0d 09 20 20 |characte|rs.}.. |
|000003e0| 20 20 20 20 50 52 4f 43 | 45 44 55 52 45 20 53 74 | PROC|EDURE St|
|000003f0| 72 54 6f 54 45 52 65 63 | 28 73 74 72 3a 20 53 74 |rToTERec|(str: St|
|00000400| 72 32 35 35 3b 20 68 54 | 45 3a 20 54 45 48 61 6e |r255; hT|E: TEHan|
|00000410| 64 6c 65 29 3b 0d 09 20 | 20 20 20 20 20 7b 53 74 |dle);.. | {St|
|00000420| 72 54 6f 54 45 52 65 63 | 20 63 6f 6e 76 65 72 74 |rToTERec| convert|
|00000430| 73 20 74 68 65 20 73 74 | 72 69 6e 67 20 73 74 72 |s the st|ring str|
|00000440| 20 74 6f 20 74 68 65 20 | 54 65 78 74 45 64 69 74 | to the |TextEdit|
|00000450| 20 72 65 63 6f 72 64 20 | 68 54 45 2e 20 7d 0d 09 | record |hTE. }..|
|00000460| 20 20 20 49 4d 50 4c 45 | 4d 45 4e 54 41 54 49 4f | IMPLE|MENTATIO|
|00000470| 4e 0d 09 20 20 20 20 20 | 20 50 52 4f 43 45 44 55 |N.. | PROCEDU|
|00000480| 52 45 20 54 45 52 65 63 | 54 6f 53 74 72 28 68 54 |RE TERec|ToStr(hT|
|00000490| 45 3a 20 54 45 48 61 6e | 64 6c 65 3b 20 56 41 52 |E: TEHan|dle; VAR|
|000004a0| 20 73 74 72 3a 20 53 74 | 72 32 35 35 29 3b 0d 09 | str: St|r255);..|
|000004b0| 20 20 20 20 20 20 20 20 | 20 42 45 47 49 4e 0d 09 | | BEGIN..|
|000004c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 47 65 74 49 | | GetI|
|000004d0| 54 65 78 74 28 68 54 45 | 5e 5e 2e 68 54 65 78 74 |Text(hTE|^^.hText|
|000004e0| 2c 20 73 74 72 29 3b 0d | 09 20 20 20 20 20 20 20 |, str);.|. |
|000004f0| 20 20 45 4e 44 3b 0d 09 | 20 20 20 20 20 20 50 52 | END;..| PR|
|00000500| 4f 43 45 44 55 52 45 20 | 53 74 72 54 6f 54 45 52 |OCEDURE |StrToTER|
|00000510| 65 63 28 73 74 72 3a 20 | 53 74 72 32 35 35 3b 20 |ec(str: |Str255; |
|00000520| 68 54 45 3a 20 54 45 48 | 61 6e 64 6c 65 29 3b 0d |hTE: TEH|andle);.|
|00000530| 09 20 20 20 20 20 20 20 | 20 20 42 45 47 49 4e 0d |. | BEGIN.|
|00000540| 09 20 20 20 20 20 20 20 | 20 20 20 20 20 54 45 53 |. | TES|
|00000550| 65 74 54 65 78 74 28 50 | 4f 49 4e 54 45 52 28 4f |etText(P|OINTER(O|
|00000560| 52 44 34 28 40 73 74 72 | 29 20 2b 20 31 29 2c 20 |RD4(@str|) + 1), |
|00000570| 4f 52 44 34 28 6c 65 6e | 67 74 68 28 73 74 72 29 |ORD4(len|gth(str)|
|00000580| 29 2c 20 68 54 45 29 3b | 0d 09 20 20 20 20 20 20 |), hTE);|.. |
|00000590| 20 20 20 45 4e 44 3b 0d | 09 45 4e 44 2e 0d 46 75 | END;.|.END..Fu|
|000005a0| 72 74 68 65 72 20 52 65 | 66 65 72 65 6e 63 65 3a |rther Re|ference:|
|000005b0| 0d a5 09 4d 61 63 69 6e | 74 6f 73 68 20 4d 65 6d |...Macin|tosh Mem|
|000005c0| 6f 72 79 20 4d 61 6e 61 | 67 65 6d 65 6e 74 3a 20 |ory Mana|gement: |
|000005d0| 41 6e 20 49 6e 74 72 6f | 64 75 63 74 69 6f 6e 20 |An Intro|duction |
|000005e0| 54 65 78 74 45 64 69 74 | 0d 10 18 00 00 00 00 03 |TextEdit|........|
|000005f0| 48 02 52 00 11 02 ff 0c | 00 ff ff ff ff 00 00 00 |H.R.....|........|
|00000600| 00 00 00 00 00 02 52 00 | 00 03 48 00 00 00 00 00 |......R.|..H.....|
|00000610| 00 00 1e 00 01 00 0a 00 | 00 00 00 03 49 02 52 00 |........|....I.R.|
|00000620| 20 02 c1 00 58 02 c1 02 | 1d 00 2c 00 08 00 14 05 | ...X...|..,.....|
|00000630| 54 69 6d 65 73 00 03 00 | 14 00 0d 00 0a 00 2e 00 |Times...|........|
|00000640| 04 00 00 00 00 00 28 02 | d6 00 5a 23 54 45 20 31 |......(.|..Z#TE 1|
|00000650| 37 20 2d 20 54 65 78 74 | 45 64 69 74 20 43 6f 6e |7 - Text|Edit Con|
|00000660| 76 65 72 73 69 6f 6e 20 | 55 74 69 6c 69 74 79 00 |version |Utility.|
|00000670| 28 02 d6 02 04 01 31 00 | 29 05 05 20 6f 66 20 31 |(.....1.|).. of 1|
|00000680| 00 00 28 02 ec 00 5a 04 | 54 65 78 74 00 00 a0 00 |..(...Z.|Text....|
|00000690| 82 00 01 00 0a 00 2f 00 | 5a 00 81 02 23 00 07 00 |....../.|Z...#...|
|000006a0| 00 00 00 00 08 00 0a 00 | 09 30 49 88 3a b5 9c f0 |........|.0I.:...|
|000006b0| 39 00 22 00 7b 02 1a 00 | 00 00 09 ff ff ff ff ff |9.".{...|........|
|000006c0| ff ff ff 00 23 00 00 00 | a0 00 c4 00 a1 00 64 00 |....#...|......d.|
|000006d0| 0a 4f 4e 4c 4e 00 66 00 | 00 01 fe 00 a0 00 8c 00 |.ONLN.f.|........|
|000006e0| a1 00 64 00 31 64 72 77 | 32 00 02 01 c9 00 2d 01 |..d.1drw|2.....-.|
|000006f0| e1 01 5f 00 00 80 00 00 | 00 00 00 00 00 00 00 00 |.._.....|........|
|00000700| 00 00 00 00 00 00 00 ff | ff ff ff ff ff 00 01 00 |........|........|
|00000710| 00 01 8f 00 00 00 00 00 | a1 00 96 00 0c 01 00 00 |........|........|
|00000720| 00 02 78 00 00 00 00 00 | 00 00 a1 00 64 00 10 64 |..x.....|....d..d|
|00000730| 72 77 32 00 3a 00 05 00 | 00 00 00 00 01 00 00 00 |rw2.:...|........|
|00000740| a1 00 64 00 0e 64 72 77 | 32 00 3a 00 02 00 24 00 |..d..drw|2.:...$.|
|00000750| 00 00 00 00 a1 00 64 00 | 34 64 72 77 32 00 3a 00 |......d.|4drw2.:.|
|00000760| 01 00 03 01 00 00 18 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 01 00 01 00 01 00 | 01 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 a1 00 |........|........|
|00000790| 9a 00 08 ff fa 00 00 00 | 97 40 00 00 a0 00 98 00 |........|.@......|
|000007a0| 04 01 00 00 0d 00 18 00 | 2e 00 04 00 00 01 00 00 |........|........|
|000007b0| 10 00 52 01 c9 00 52 01 | c9 00 28 00 42 00 5d 13 |..R...R.|..(.B.].|
|000007c0| 4e 65 77 20 54 65 63 68 | 6e 69 63 61 6c 20 4e 6f |New Tech|nical No|
|000007d0| 74 65 73 00 a0 00 99 00 | a1 00 64 00 08 64 72 77 |tes.....|..d..drw|
|000007e0| 32 00 3a 00 04 00 a1 14 | e3 00 02 00 01 00 a0 00 |2.:.....|........|
|000007f0| 97 00 a1 00 64 00 31 64 | 72 77 32 00 02 02 06 01 |....d.1d|rw2.....|
|00000800| 65 02 19 01 f4 00 00 80 | 00 00 00 00 00 00 00 00 |e.......|........|
|00000810| 00 00 00 00 00 00 00 00 | 00 ff ff ff ff ff ff 00 |........|........|
|00000820| 01 00 00 01 50 00 00 00 | 00 00 a1 00 96 00 0c 01 |....P...|........|
|00000830| 00 00 00 02 78 00 00 00 | 00 00 00 00 a1 00 64 00 |....x...|......d.|
|00000840| 10 64 72 77 32 00 3a 00 | 05 00 00 00 00 00 01 00 |.drw2.:.|........|
|00000850| 00 00 a1 00 64 00 0e 64 | 72 77 32 00 3a 00 02 00 |....d..d|rw2.:...|
|00000860| 24 00 00 00 00 00 a1 00 | 64 00 34 64 72 77 32 00 |$.......|d.4drw2.|
|00000870| 3a 00 01 00 03 00 00 00 | 12 00 00 00 00 00 00 00 |:.......|........|
|00000880| 00 00 00 00 01 00 01 00 | 01 00 01 00 00 00 00 00 |........|........|
|00000890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| a1 00 9a 00 08 ff fb 80 | 00 00 45 c0 00 00 a0 00 |........|..E.....|
|000008b0| 98 00 04 00 00 00 0d 00 | 12 00 28 00 7b 01 95 11 |........|..(.{...|
|000008c0| 44 65 76 65 6c 6f 70 65 | 72 20 53 75 70 70 6f 72 |Develope|r Suppor|
|000008d0| 74 00 a0 00 99 00 a1 00 | 64 00 08 64 72 77 32 00 |t.......|d..drw2.|
|000008e0| 3a 00 04 00 a1 14 e3 00 | 02 00 01 00 a0 00 97 00 |:.......|........|
|000008f0| a1 00 64 00 60 64 72 77 | 32 00 03 02 00 00 2d 02 |..d.`drw|2.....-.|
|00000900| 00 01 ef 00 00 00 00 00 | 00 00 00 02 02 00 00 00 |........|........|
|00000910| 00 00 00 00 00 00 00 ff | ff ff ff ff ff 00 01 00 |........|........|
|00000920| 01 08 4b 00 00 00 00 02 | 00 01 ef 02 00 00 2d 00 |..K.....|......-.|
|00000930| 00 00 00 00 00 00 00 00 | 01 00 14 00 0c 00 03 00 |........|........|
|00000940| 02 00 00 00 5a 00 01 00 | 00 00 02 00 00 00 03 00 |....Z...|........|
|00000950| 0c 00 00 00 00 00 07 00 | 02 00 02 00 08 00 08 00 |........|........|
|00000960| 20 00 66 02 1c 00 66 00 | 5a 00 a1 00 64 00 31 64 | .f...f.|Z...d.1d|
|00000970| 72 77 32 00 02 01 ca 01 | c0 01 fa 01 e9 00 00 00 |rw2.....|........|
|00000980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000990| 00 ff ff ff ff ff ff 00 | 01 00 00 01 4b 00 00 00 |........|....K...|
|000009a0| 00 00 a1 00 96 00 0c 01 | 00 00 00 02 78 00 00 00 |........|....x...|
|000009b0| 00 00 00 00 a1 00 64 00 | 10 64 72 77 32 00 3a 00 |......d.|.drw2.:.|
|000009c0| 05 00 00 00 00 00 01 00 | 00 00 a1 00 64 00 0e 64 |........|....d..d|
|000009d0| 72 77 32 00 3a 00 02 00 | 24 00 00 00 00 00 a1 00 |rw2.:...|$.......|
|000009e0| 64 00 34 64 72 77 32 00 | 3a 00 01 00 03 00 00 00 |d.4drw2.|:.......|
|000009f0| 30 00 00 00 00 00 00 00 | 00 00 00 00 01 00 01 00 |0.......|........|
|00000a00| 01 00 01 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a10| 00 00 00 00 00 00 00 00 | a1 00 9a 00 08 ff f4 00 |........|........|
|00000a20| 00 00 13 80 00 00 a0 00 | 98 00 0d 00 30 00 28 00 |........|....0.(.|
|00000a30| 55 01 ef 01 f0 00 a0 00 | 99 00 a1 00 64 00 08 64 |U.......|....d..d|
|00000a40| 72 77 32 00 3a 00 04 00 | a1 14 e3 00 02 00 01 00 |rw2.:...|........|
|00000a50| a0 00 97 00 a1 00 64 00 | 31 64 72 77 32 00 02 01 |......d.|1drw2...|
|00000a60| ef 01 e6 01 fa 01 f0 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a70| 00 00 00 00 00 00 00 00 | 00 00 00 ff ff ff ff ff |........|........|
|00000a80| ff 00 01 00 00 01 00 00 | 00 00 00 00 a1 00 96 00 |........|........|
|00000a90| 0c 01 00 00 00 02 78 00 | 00 00 00 00 00 00 a1 00 |......x.|........|
|00000aa0| 64 00 10 64 72 77 32 00 | 3a 00 05 00 00 00 00 00 |d..drw2.|:.......|
|00000ab0| 01 00 00 00 a1 00 64 00 | 0e 64 72 77 32 00 3a 00 |......d.|.drw2.:.|
|00000ac0| 02 00 24 00 00 00 00 00 | a1 00 64 00 34 64 72 77 |..$.....|..d.4drw|
|00000ad0| 32 00 3a 00 01 00 03 00 | 00 00 09 00 00 00 00 00 |2.:.....|........|
|00000ae0| 00 00 00 00 00 00 01 00 | 01 00 01 00 01 00 00 00 |........|........|
|00000af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b00| 00 00 a1 00 9a 00 08 ff | fd 80 00 00 04 00 00 00 |........|........|
|00000b10| a0 00 98 00 0d 00 09 00 | 2b 26 09 01 a8 00 a0 00 |........|+&......|
|00000b20| 99 00 a1 00 64 00 08 64 | 72 77 32 00 3a 00 04 00 |....d..d|rw2.:...|
|00000b30| a1 14 e3 00 02 00 01 00 | a0 00 97 00 a1 00 64 00 |........|......d.|
|00000b40| 31 64 72 77 32 00 02 01 | e5 00 2d 01 f8 00 79 00 |1drw2...|..-...y.|
|00000b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b60| 00 00 00 ff ff ff ff ff | ff 00 01 00 01 01 00 00 |........|........|
|00000b70| 00 01 00 00 a1 00 96 00 | 0c 01 00 00 00 02 78 00 |........|......x.|
|00000b80| 00 00 00 00 00 00 a1 00 | 64 00 10 64 72 77 32 00 |........|d..drw2.|
|00000b90| 3a 00 05 00 00 00 00 00 | 01 00 00 00 a1 00 64 00 |:.......|......d.|
|00000ba0| 0e 64 72 77 32 00 3a 00 | 02 00 24 00 00 00 00 00 |.drw2.:.|..$.....|
|00000bb0| a1 00 64 00 34 64 72 77 | 32 00 3a 00 01 00 03 00 |..d.4drw|2.:.....|
|00000bc0| 00 00 12 00 00 00 00 00 | 00 00 00 00 00 00 01 00 |........|........|
|00000bd0| 01 00 01 00 01 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 a1 00 9a 00 08 ff |........|........|
|00000bf0| fb 80 00 00 25 00 00 00 | a0 00 98 00 0d 00 12 00 |....%...|........|
|00000c00| 28 00 5a 00 5c 09 4d 61 | 63 69 6e 74 6f 73 68 00 |(.Z.\.Ma|cintosh.|
|00000c10| a0 00 99 00 a1 00 64 00 | 08 64 72 77 32 00 3a 00 |......d.|.drw2.:.|
|00000c20| 04 00 a1 14 e3 00 02 00 | 01 00 a0 00 97 00 a0 00 |........|........|
|00000c30| 8d 00 a1 00 64 00 06 64 | 72 77 32 00 44 00 a0 00 |....d..d|rw2.D...|
|00000c40| 83 00 01 00 0a 00 00 00 | 00 03 49 02 52 00 04 01 |........|..I.R...|
|00000c50| 00 00 2e 00 04 00 00 00 | 00 00 10 00 01 00 01 00 |........|........|
|00000c60| 01 00 01 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |......d.|.ONLN.d.|
|00000c70| 00 00 8d 00 5a 00 a0 01 | 85 00 28 00 9b 00 5a 23 |....Z...|..(...Z#|
|00000c80| 54 45 20 31 37 20 2d 20 | 54 65 78 74 45 64 69 74 |TE 17 - |TextEdit|
|00000c90| 20 43 6f 6e 76 65 72 73 | 69 6f 6e 20 55 74 69 6c | Convers|ion Util|
|00000ca0| 69 74 79 00 0d 00 0e 00 | a1 00 64 00 10 4f 4e 4c |ity.....|..d..ONL|
|00000cb0| 4e 00 64 00 24 00 9f 00 | 5a 00 ae 00 78 00 2a 10 |N.d.$...|Z...x.*.|
|00000cc0| 04 54 65 78 74 00 04 00 | 00 00 0d 00 0c 00 a1 00 |.Text...|........|
|00000cd0| 64 00 10 4f 4e 4c 4e 00 | 64 00 2b 00 ba 00 5a 00 |d..ONLN.|d.+...Z.|
|00000ce0| c6 00 92 00 2a 18 0b 52 | 65 76 69 73 65 64 20 62 |....*..R|evised b|
|00000cf0| 79 3a 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |y:....d.|.ONLN.d.|
|00000d00| 38 00 ba 01 e3 00 c6 02 | 1c 00 28 00 c3 01 e3 0a |8.......|..(.....|
|00000d10| 4d 61 72 63 68 20 31 39 | 38 38 00 00 a1 00 64 00 |March 19|88....d.|
|00000d20| 10 4f 4e 4c 4e 00 64 00 | 43 00 c6 00 5a 00 d2 00 |.ONLN.d.|C...Z...|
|00000d30| 8f 00 28 00 cf 00 5a 0b | 57 72 69 74 74 65 6e 20 |..(...Z.|Written |
|00000d40| 62 79 3a 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |by:...d.|.ONLN.d.|
|00000d50| 4f 00 c6 00 a2 00 d2 00 | ed 00 29 48 0e 48 61 72 |O.......|..)H.Har|
|00000d60| 76 65 79 20 41 6c 63 61 | 62 65 73 00 a1 00 64 00 |vey Alca|bes...d.|
|00000d70| 10 4f 4e 4c 4e 00 64 00 | 5e 00 c6 01 e9 00 d2 02 |.ONLN.d.|^.......|
|00000d80| 1c 00 28 00 cf 01 e9 0a | 41 70 72 69 6c 20 31 39 |..(.....|April 19|
|00000d90| 38 35 00 00 06 00 01 00 | 00 00 a1 00 64 00 10 4f |85......|....d..O|
|00000da0| 4e 4c 4e 00 64 00 69 00 | de 00 5a 00 ea 01 c7 00 |NLN.d.i.|..Z.....|
|00000db0| 28 00 e7 00 5a 49 54 65 | 78 74 20 73 6f 6d 65 74 |(...ZITe|xt somet|
|00000dc0| 69 6d 65 73 20 6d 75 73 | 74 20 62 65 20 63 6f 6e |imes mus|t be con|
|00000dd0| 76 65 72 74 65 64 20 62 | 65 74 77 65 65 6e 20 61 |verted b|etween a|
|00000de0| 20 50 61 73 63 61 6c 20 | 73 74 72 69 6e 67 20 61 | Pascal |string a|
|00000df0| 6e 64 20 d2 70 75 72 65 | d3 20 74 65 78 74 20 00 |nd .pure|. text .|
|00000e00| 06 00 02 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00000e10| 64 00 b2 00 de 01 c7 00 | ea 02 1c 00 28 00 e7 01 |d.......|....(...|
|00000e20| c7 11 69 6e 20 61 20 68 | 61 6e 64 6c 65 2e 20 54 |..in a h|andle. T|
|00000e30| 68 69 73 00 06 00 00 00 | 00 00 a1 00 64 00 10 4f |his.....|....d..O|
|00000e40| 4e 4c 4e 00 64 00 c4 00 | ea 00 5a 00 f6 01 4d 00 |NLN.d...|..Z...M.|
|00000e50| 28 00 f3 00 5a 33 6e 6f | 74 65 20 69 6c 6c 75 73 |(...Z3no|te illus|
|00000e60| 74 72 61 74 65 73 20 61 | 20 77 61 79 20 74 6f 20 |trates a| way to |
|00000e70| 64 6f 20 74 68 69 73 20 | 75 73 69 6e 67 20 4d 50 |do this |using MP|
|00000e80| 57 20 50 61 73 63 61 6c | 2e 00 07 00 01 00 01 00 |W Pascal|........|
|00000e90| 20 01 02 00 58 01 02 02 | 1d 00 a1 00 64 00 10 4f | ...X...|....d..O|
|00000ea0| 4e 4c 4e 00 64 00 f8 01 | 0f 00 5a 01 1b 01 f5 00 |NLN.d...|..Z.....|
|00000eb0| 2a 25 55 54 65 78 74 20 | 63 6f 6e 74 61 69 6e 65 |*%UText |containe|
|00000ec0| 64 20 69 6e 20 54 65 78 | 74 45 64 69 74 20 72 65 |d in Tex|tEdit re|
|00000ed0| 63 6f 72 64 73 20 73 6f | 6d 65 74 69 6d 65 73 20 |cords so|metimes |
|00000ee0| 6d 75 73 74 20 62 65 20 | 70 61 73 73 65 64 20 74 |must be |passed t|
|00000ef0| 6f 20 72 6f 75 74 69 6e | 65 73 20 77 68 69 63 68 |o routin|es which|
|00000f00| 20 65 78 70 65 63 74 20 | 00 00 06 00 01 00 00 00 | expect |........|
|00000f10| a1 00 64 00 10 4f 4e 4c | 4e 00 64 01 4d 01 0f 01 |..d..ONL|N.d.M...|
|00000f20| f5 01 1b 02 1c 00 28 01 | 18 01 f5 08 61 20 50 61 |......(.|....a Pa|
|00000f30| 73 63 61 6c 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |scal....|d..ONLN.|
|00000f40| 64 01 56 01 1b 00 5a 01 | 27 01 7a 00 28 01 24 00 |d.V...Z.|'.z.(.$.|
|00000f50| 5a 3b 73 74 72 69 6e 67 | 20 6f 66 20 74 79 70 65 |Z;string| of type|
|00000f60| 20 53 74 72 32 35 35 20 | 28 61 20 6c 65 6e 67 74 | Str255 |(a lengt|
|00000f70| 68 20 62 79 74 65 20 66 | 6f 6c 6c 6f 77 65 64 20 |h byte f|ollowed |
|00000f80| 62 79 20 75 70 20 74 6f | 20 32 35 35 20 00 06 00 |by up to| 255 ...|
|00000f90| 02 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 01 |......d.|.ONLN.d.|
|00000fa0| 91 01 1b 01 7a 01 27 02 | 1c 00 28 01 24 01 7a 1e |....z.'.|..(.$.z.|
|00000fb0| 63 68 61 72 61 63 74 65 | 72 73 29 2e 20 54 68 65 |characte|rs). The|
|00000fc0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 4d 50 57 00 00 | followi|ng MPW..|
|00000fd0| 06 00 00 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00000fe0| 64 01 b0 01 27 00 5a 01 | 33 01 cf 00 28 01 30 00 |d...'.Z.|3...(.0.|
|00000ff0| 5a 4f 50 61 73 63 61 6c | 20 75 6e 69 74 20 63 61 |ZOPascal| unit ca|
|00001000| 6e 20 62 65 20 75 73 65 | 64 20 74 6f 20 63 6f 6e |n be use|d to con|
|00001010| 76 65 72 74 20 62 65 74 | 77 65 65 6e 20 54 65 78 |vert bet|ween Tex|
|00001020| 74 45 64 69 74 20 72 65 | 63 6f 72 64 73 20 61 6e |tEdit re|cords an|
|00001030| 64 20 50 61 73 63 61 6c | 20 73 74 72 69 6e 67 73 |d Pascal| strings|
|00001040| 3a 00 2c 00 0a 00 16 07 | 43 6f 75 72 69 65 72 00 |:.,.....|Courier.|
|00001050| 03 00 16 00 0d 00 09 00 | a1 00 64 00 10 4f 4e 4c |........|..d..ONL|
|00001060| 4e 00 64 02 01 01 3f 00 | 7e 01 4a 00 c9 00 2b 24 |N.d...?.|~.J...+$|
|00001070| 17 0f 55 4e 49 54 20 54 | 45 43 6f 6e 76 65 72 74 |..UNIT T|EConvert|
|00001080| 3b 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 02 12 01 |;...d..O|NLN.d...|
|00001090| 53 00 7e 01 5e 01 c8 00 | 2a 14 42 20 20 20 7b 47 |S.~.^...|*.B {G|
|000010a0| 65 6e 65 72 61 6c 20 75 | 74 69 6c 69 74 69 65 73 |eneral u|tilities|
|000010b0| 20 66 6f 72 20 63 6f 6e | 76 65 72 73 69 6f 6e 20 | for con|version |
|000010c0| 62 65 74 77 65 65 6e 20 | 54 65 78 74 45 64 69 74 |between |TextEdit|
|000010d0| 20 61 6e 64 20 73 74 72 | 69 6e 67 73 7d 00 a1 00 | and str|ings}...|
|000010e0| 64 00 10 4f 4e 4c 4e 00 | 64 02 56 01 67 00 7e 01 |d..ONLN.|d.V.g.~.|
|000010f0| 72 00 ba 00 2a 14 0c 20 | 20 20 49 4e 54 45 52 46 |r...*.. | INTERF|
|00001100| 41 43 45 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 02 |ACE...d.|.ONLN.d.|
|00001110| 64 01 7b 00 7e 01 86 01 | 64 00 2a 14 2e 20 20 20 |d.{.~...|d.*.. |
|00001120| 20 20 20 55 53 45 53 20 | 4d 65 6d 54 79 70 65 73 | USES |MemTypes|
|00001130| 2c 51 75 69 63 6b 44 72 | 61 77 2c 4f 53 49 6e 74 |,QuickDr|aw,OSInt|
|00001140| 66 2c 54 6f 6f 6c 49 6e | 74 66 3b 00 a1 00 64 00 |f,ToolIn|tf;...d.|
|00001150| 10 4f 4e 4c 4e 00 64 02 | 94 01 8f 00 7e 01 9a 01 |.ONLN.d.|....~...|
|00001160| a5 00 2a 14 3b 20 20 20 | 20 20 20 50 52 4f 43 45 |..*.; | PROCE|
|00001170| 44 55 52 45 20 54 45 52 | 65 63 54 6f 53 74 72 28 |DURE TER|ecToStr(|
|00001180| 68 54 45 3a 20 54 45 48 | 61 6e 64 6c 65 3b 20 56 |hTE: TEH|andle; V|
|00001190| 41 52 20 73 74 72 3a 20 | 53 74 72 32 35 35 29 3b |AR str: |Str255);|
|000011a0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 02 d1 01 |....d..O|NLN.d...|
|000011b0| 99 00 7e 01 a4 01 dc 00 | 2a 0a 46 20 20 20 20 20 |..~.....|*.F |
|000011c0| 20 7b 54 45 52 65 63 54 | 6f 53 74 72 20 63 6f 6e | {TERecT|oStr con|
|000011d0| 76 65 72 74 73 20 74 68 | 65 20 54 65 78 74 45 64 |verts th|e TextEd|
|000011e0| 69 74 20 72 65 63 6f 72 | 64 20 68 54 45 20 74 6f |it recor|d hTE to|
|000011f0| 20 74 68 65 20 73 74 72 | 69 6e 67 20 73 74 72 2e | the str|ing str.|
|00001200| 7d 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 03 19 01 |}...d..O|NLN.d...|
|00001210| a3 00 7e 01 ae 01 cd 00 | 2a 0a 43 20 20 20 20 20 |..~.....|*.C |
|00001220| 20 7b 49 66 20 6e 65 63 | 65 73 73 61 72 79 2c 20 | {If nec|essary, |
|00001230| 74 68 65 20 74 65 78 74 | 20 77 69 6c 6c 20 62 65 |the text| will be|
|00001240| 20 74 72 75 6e 63 61 74 | 65 64 20 74 6f 20 32 35 | truncat|ed to 25|
|00001250| 35 20 63 68 61 72 61 63 | 74 65 72 73 2e 7d 00 00 |5 charac|ters.}..|
|00001260| a1 00 64 00 10 4f 4e 4c | 4e 00 64 03 5e 01 b7 00 |..d..ONL|N.d.^...|
|00001270| 7e 01 c2 01 91 00 2a 14 | 37 20 20 20 20 20 20 50 |~.....*.|7 P|
|00001280| 52 4f 43 45 44 55 52 45 | 20 53 74 72 54 6f 54 45 |ROCEDURE| StrToTE|
|00001290| 52 65 63 28 73 74 72 3a | 20 53 74 72 32 35 35 3b |Rec(str:| Str255;|
|000012a0| 20 68 54 45 3a 20 54 45 | 48 61 6e 64 6c 65 29 3b | hTE: TE|Handle);|
|000012b0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 03 97 01 |....d..O|NLN.d...|
|000012c0| c1 00 7e 01 cc 01 e1 00 | 2a 0a 47 20 20 20 20 20 |..~.....|*.G |
|000012d0| 20 7b 53 74 72 54 6f 54 | 45 52 65 63 20 63 6f 6e | {StrToT|ERec con|
|000012e0| 76 65 72 74 73 20 74 68 | 65 20 73 74 72 69 6e 67 |verts th|e string|
|000012f0| 20 73 74 72 20 74 6f 20 | 74 68 65 20 54 65 78 74 | str to |the Text|
|00001300| 45 64 69 74 20 72 65 63 | 6f 72 64 20 68 54 45 2e |Edit rec|ord hTE.|
|00001310| 20 7d 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 03 | }....d.|.ONLN.d.|
|00001320| e0 01 d5 00 7e 01 e0 00 | d3 00 2a 14 11 20 20 20 |....~...|..*.. |
|00001330| 49 4d 50 4c 45 4d 45 4e | 54 41 54 49 4f 4e 00 00 |IMPLEMEN|TATION..|
|00001340| a1 00 64 00 10 4f 4e 4c | 4e 00 64 03 f3 01 e9 00 |..d..ONL|N.d.....|
|00001350| 7e 01 f4 01 a5 00 2a 14 | 3b 20 20 20 20 20 20 50 |~.....*.|; P|
|00001360| 52 4f 43 45 44 55 52 45 | 20 54 45 52 65 63 54 6f |ROCEDURE| TERecTo|
|00001370| 53 74 72 28 68 54 45 3a | 20 54 45 48 61 6e 64 6c |Str(hTE:| TEHandl|
|00001380| 65 3b 20 56 41 52 20 73 | 74 72 3a 20 53 74 72 32 |e; VAR s|tr: Str2|
|00001390| 35 35 29 3b 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |55);....|d..ONLN.|
|000013a0| 64 04 30 01 fd 00 7e 02 | 08 00 c4 00 2a 14 0e 20 |d.0...~.|....*.. |
|000013b0| 20 20 20 20 20 20 20 20 | 42 45 47 49 4e 00 a1 00 | |BEGIN...|
|000013c0| 64 00 10 4f 4e 4c 4e 00 | 64 04 40 02 07 00 7e 02 |d..ONLN.|d.@...~.|
|000013d0| 12 01 41 00 2a 0a 27 20 | 20 20 20 20 20 20 20 20 |..A.*.' | |
|000013e0| 20 20 20 47 65 74 49 54 | 65 78 74 28 68 54 45 5e | GetIT|ext(hTE^|
|000013f0| 5e 2e 68 54 65 78 74 2c | 20 73 74 72 29 3b 00 00 |^.hText,| str);..|
|00001400| a1 00 64 00 10 4f 4e 4c | 4e 00 64 04 69 02 11 00 |..d..ONL|N.d.i...|
|00001410| 7e 02 1c 00 bf 00 2a 0a | 0d 20 20 20 20 20 20 20 |~.....*.|. |
|00001420| 20 20 45 4e 44 3b 00 00 | a1 00 64 00 10 4f 4e 4c | END;..|..d..ONL|
|00001430| 4e 00 64 04 78 02 25 00 | 7e 02 30 01 91 00 2a 14 |N.d.x.%.|~.0...*.|
|00001440| 37 20 20 20 20 20 20 50 | 52 4f 43 45 44 55 52 45 |7 P|ROCEDURE|
|00001450| 20 53 74 72 54 6f 54 45 | 52 65 63 28 73 74 72 3a | StrToTE|Rec(str:|
|00001460| 20 53 74 72 32 35 35 3b | 20 68 54 45 3a 20 54 45 | Str255;| hTE: TE|
|00001470| 48 61 6e 64 6c 65 29 3b | 00 00 a1 00 64 00 10 4f |Handle);|....d..O|
|00001480| 4e 4c 4e 00 64 04 b1 02 | 39 00 7e 02 44 00 c4 00 |NLN.d...|9.~.D...|
|00001490| 2a 14 0e 20 20 20 20 20 | 20 20 20 20 42 45 47 49 |*.. | BEGI|
|000014a0| 4e 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 04 c1 02 |N...d..O|NLN.d...|
|000014b0| 43 00 7e 02 4e 01 e1 00 | 2a 0a 47 20 20 20 20 20 |C.~.N...|*.G |
|000014c0| 20 20 20 20 20 20 20 54 | 45 53 65 74 54 65 78 74 | T|ESetText|
|000014d0| 28 50 4f 49 4e 54 45 52 | 28 4f 52 44 34 28 40 73 |(POINTER|(ORD4(@s|
|000014e0| 74 72 29 20 2b 20 31 29 | 2c 20 4f 52 44 34 28 6c |tr) + 1)|, ORD4(l|
|000014f0| 65 6e 67 74 68 28 73 74 | 72 29 29 2c 20 68 54 45 |ength(st|r)), hTE|
|00001500| 29 3b 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 05 |);....d.|.ONLN.d.|
|00001510| 0a 02 4d 00 7e 02 58 00 | bf 00 2a 0a 0d 20 20 20 |..M.~.X.|..*.. |
|00001520| 20 20 20 20 20 20 45 4e | 44 3b 00 00 a1 00 64 00 | EN|D;....d.|
|00001530| 10 4f 4e 4c 4e 00 64 05 | 19 02 61 00 7e 02 6c 00 |.ONLN.d.|..a.~.l.|
|00001540| 92 00 2a 14 04 45 4e 44 | 2e 00 03 00 14 00 04 01 |..*..END|........|
|00001550| 00 00 0d 00 0c 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00001560| 64 05 1e 02 8f 00 5a 02 | 9b 00 c4 00 28 02 98 00 |d.....Z.|....(...|
|00001570| 5a 12 46 75 72 74 68 65 | 72 20 52 65 66 65 72 65 |Z.Furthe|r Refere|
|00001580| 6e 63 65 3a 00 00 20 02 | 9b 00 58 02 9b 02 1d 00 |nce:.. .|..X.....|
|00001590| 04 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 05 |......d.|.ONLN.d.|
|000015a0| 31 02 9c 00 6c 02 a8 00 | 70 00 2b 12 0d 01 a5 00 |1...l...|p.+.....|
|000015b0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 05 33 02 9c 00 |..d..ONL|N.d.3...|
|000015c0| 7e 02 a8 01 95 00 29 12 | 35 4d 61 63 69 6e 74 6f |~.....).|5Macinto|
|000015d0| 73 68 20 4d 65 6d 6f 72 | 79 20 4d 61 6e 61 67 65 |sh Memor|y Manage|
|000015e0| 6d 65 6e 74 3a 20 41 6e | 20 49 6e 74 72 6f 64 75 |ment: An| Introdu|
|000015f0| 63 74 69 6f 6e 20 54 65 | 78 74 45 64 69 74 00 00 |ction Te|xtEdit..|
|00001600| ff 00 a1 00 c0 01 f4 25 | 25 44 53 49 44 49 43 54 |.......%|%DSIDICT|
|00001610| 3a 5f 63 76 0d 63 75 72 | 72 65 6e 74 64 69 63 74 |:_cv.cur|rentdict|
|00001620| 20 2f 62 75 20 6b 6e 6f | 77 6e 20 7b 62 75 7d 69 | /bu kno|wn {bu}i|
|00001630| 66 0d 75 73 65 72 64 69 | 63 74 20 2f 5f 63 76 20 |f.userdi|ct /_cv |
|00001640| 6b 6e 6f 77 6e 20 6e 6f | 74 7b 75 73 65 72 64 69 |known no|t{userdi|
|00001650| 63 74 20 2f 5f 63 76 20 | 33 30 20 64 69 63 74 20 |ct /_cv |30 dict |
|00001660| 70 75 74 7d 69 66 0d 5f | 63 76 20 62 65 67 69 6e |put}if._|cv begin|
|00001670| 0d 2f 62 64 66 7b 62 69 | 6e 64 20 64 65 66 7d 62 |./bdf{bi|nd def}b|
|00001680| 69 6e 64 20 64 65 66 0d | 63 75 72 72 65 6e 74 73 |ind def.|currents|
|00001690| 63 72 65 65 6e 2f 63 73 | 20 65 78 63 68 20 64 65 |creen/cs| exch de|
|000016a0| 66 2f 63 61 20 65 78 63 | 68 20 64 65 66 2f 63 66 |f/ca exc|h def/cf|
|000016b0| 20 65 78 63 68 20 64 65 | 66 0d 2f 73 65 74 63 6d | exch de|f./setcm|
|000016c0| 79 6b 63 6f 6c 6f 72 20 | 77 68 65 72 65 7b 2f 73 |ykcolor |where{/s|
|000016d0| 65 74 63 6d 79 6b 63 6f | 6c 6f 72 20 67 65 74 20 |etcmykco|lor get |
|000016e0| 2f 63 76 63 6d 79 6b 20 | 65 78 63 68 20 64 65 66 |/cvcmyk |exch def|
|000016f0| 7d 7b 2f 63 76 63 6d 79 | 6b 7b 31 20 73 75 62 20 |}{/cvcmy|k{1 sub |
|00001700| 34 20 31 20 72 6f 6c 6c | 20 33 7b 33 20 69 6e 64 |4 1 roll| 3{3 ind|
|00001710| 65 78 20 61 64 64 20 6e | 65 67 20 64 75 70 20 30 |ex add n|eg dup 0|
|00001720| 20 6c 74 7b 70 6f 70 20 | 30 7d 69 66 20 33 20 31 | lt{pop |0}if 3 1|
|00001730| 20 72 6f 6c 6c 7d 72 65 | 70 65 61 74 20 73 65 74 | roll}re|peat set|
|00001740| 72 67 62 63 6f 6c 6f 72 | 20 70 6f 70 7d 62 64 66 |rgbcolor| pop}bdf|
|00001750| 20 7d 69 66 65 6c 73 65 | 0d 2f 73 73 7b 2f 2f 63 | }ifelse|./ss{//c|
|00001760| 66 20 2f 2f 63 61 20 2f | 2f 63 73 20 73 65 74 73 |f //ca /|/cs sets|
|00001770| 63 72 65 65 6e 7d 62 64 | 66 0d 2f 73 74 67 7b 73 |creen}bd|f./stg{s|
|00001780| 73 20 73 65 74 67 72 61 | 79 7d 62 64 66 0d 2f 73 |s setgra|y}bdf./s|
|00001790| 74 72 67 62 7b 73 73 20 | 73 65 74 72 67 62 63 6f |trgb{ss |setrgbco|
|000017a0| 6c 6f 72 7d 62 64 66 0d | 2f 73 74 63 6d 79 6b 7b |lor}bdf.|/stcmyk{|
|000017b0| 73 73 20 63 76 63 6d 79 | 6b 7d 62 64 66 0d 2f 6d |ss cvcmy|k}bdf./m|
|000017c0| 69 6e 31 7b 64 75 70 20 | 30 20 65 71 7b 70 6f 70 |in1{dup |0 eq{pop|
|000017d0| 20 31 7d 69 66 7d 62 64 | 66 0d 65 6e 64 0d 63 75 | 1}if}bd|f.end.cu|
|000017e0| 72 72 65 6e 74 64 69 63 | 74 20 2f 62 6e 20 6b 6e |rrentdic|t /bn kn|
|000017f0| 6f 77 6e 20 7b 62 6e 7d | 69 66 0d 00 a0 00 bf 00 |own {bn}|if......|
|00001800| 00 00 01 00 00 00 03 f3 | 00 00 02 f3 00 00 01 36 |........|.......6|
|00001810| 00 00 00 63 0d 4c 61 73 | 65 72 57 72 69 74 65 72 |...c.Las|erWriter|
|00001820| 20 38 02 00 02 00 50 52 | 45 52 76 67 72 64 21 00 | 8....PR|ERvgrd!.|
|00001830| 18 54 45 31 37 20 54 65 | 78 74 45 64 69 74 20 43 |.TE17 Te|xtEdit C|
|00001840| 6f 6e 76 65 72 73 69 6f | 6e 64 02 00 00 00 4f 4e |onversio|nd....ON|
|00001850| 00 00 4f 4e 4c 4e 48 4c | 58 32 01 00 01 40 00 00 |..ONLNHL|X2...@..|
|00001860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001870| 00 00 aa c8 47 51 00 00 | 17 7f 00 00 05 29 00 00 |....GQ..|.....)..|
|00001880| 00 00 00 00 00 00 00 00 | 17 00 00 00 00 63 11 4e |........|.....c.N|
|00001890| 65 74 77 6f 72 6b 20 45 | 78 74 65 6e 73 69 6f 6e |etwork E|xtension|
|000018a0| 02 00 00 00 66 65 78 74 | 75 73 65 72 31 80 01 04 |....fext|user1...|
|000018b0| 00 00 00 00 00 00 07 9d | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 00 00 00 01 7c 2a | 00 01 80 00 a6 c2 74 40 |......|*|......t@|
|000018d0| ec e5 14 38 00 00 00 00 | 00 00 00 00 00 00 00 00 |...8....|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 a3 b9 | 00 40 00 00 00 00 00 00 |........|.@......|
|00001900| 00 00 00 10 00 00 05 69 | 00 00 10 18 00 00 00 00 |.......i|........|
|00001910| 00 00 05 67 00 00 00 52 | 94 f0 00 39 94 e4 01 00 |...g...R|...9....|
|00001920| ec f8 00 39 94 c0 00 39 | 94 b0 00 00 00 00 00 00 |...9...9|........|
|00001930| 00 39 a7 70 00 00 00 00 | 73 74 64 66 00 39 95 10 |.9.p....|stdf.9..|
|00001940| 00 39 94 c8 00 09 00 02 | 00 01 00 00 00 00 00 00 |.9......|........|
|00001950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 05 69 |........|.......i|
|00001960| 00 00 05 69 00 00 12 16 | 00 01 00 00 00 1a 00 05 |...i....|........|
|00001970| 00 01 00 01 00 00 00 00 | 03 48 02 52 00 00 05 69 |........|.H.R...i|
|00001980| 00 00 12 16 00 00 01 8a | 00 00 00 10 00 01 00 00 |........|........|
|00001990| 00 00 00 00 00 04 00 01 | 00 00 05 1e 00 00 00 39 |........|.......9|
|000019a0| 00 02 23 54 45 20 31 37 | 20 2d 20 54 65 78 74 45 |..#TE 17| - TextE|
|000019b0| 64 69 74 20 43 6f 6e 76 | 65 72 73 69 6f 6e 20 55 |dit Conv|ersion U|
|000019c0| 74 69 6c 69 74 79 12 46 | 75 72 74 68 65 72 20 52 |tility.F|urther R|
|000019d0| 65 66 65 72 65 6e 63 65 | 3a 00 00 00 d8 00 01 00 |eference|:.......|
|000019e0| 00 00 00 ff ff 00 02 00 | 00 00 01 ff ff 00 03 00 |........|........|
|000019f0| 00 00 02 ff ff 00 04 00 | 00 00 03 ff ff 00 05 00 |........|........|
|00001a00| 00 00 04 ff ff 00 06 00 | 00 00 05 ff ff 00 07 00 |........|........|
|00001a10| 00 00 06 ff ff 00 08 00 | 00 00 07 ff ff 00 09 00 |........|........|
|00001a20| 00 00 08 ff ff 00 0a 00 | 00 00 09 ff ff 00 0b 00 |........|........|
|00001a30| 00 00 0a ff ff 00 0c 00 | 00 00 0b ff ff 00 0d 00 |........|........|
|00001a40| 00 00 0c ff ff 00 0e 00 | 00 00 0d ff ff 00 0f 00 |........|........|
|00001a50| 00 00 0e ff ff 00 10 00 | 00 00 0f ff ff 00 11 00 |........|........|
|00001a60| 00 00 10 ff ff 00 12 00 | 00 00 11 ff ff 00 13 00 |........|........|
|00001a70| 00 00 12 ff ff 00 14 00 | 00 00 13 ff ff 00 15 00 |........|........|
|00001a80| 00 00 14 ff ff 00 16 00 | 00 00 15 ff ff 00 17 00 |........|........|
|00001a90| 00 00 16 ff ff 00 18 00 | 00 00 17 ff ff 00 19 00 |........|........|
|00001aa0| 00 00 18 ff ff 00 1a 00 | 00 00 19 ff ff ff ff 00 |........|........|
|00001ab0| 00 00 1a ff ff 00 00 00 | 3e 00 1b 07 53 79 6d 62 |........|>...Symb|
|00001ac0| 6f 6c 73 01 41 01 42 01 | 43 01 44 01 45 01 46 01 |ols.A.B.|C.D.E.F.|
|00001ad0| 47 01 48 01 49 01 4a 01 | 4b 01 4c 01 4d 01 4e 01 |G.H.I.J.|K.L.M.N.|
|00001ae0| 4f 01 50 01 51 01 52 01 | 53 01 54 01 55 01 56 01 |O.P.Q.R.|S.T.U.V.|
|00001af0| 57 01 58 01 59 01 5a 00 | 00 00 00 00 00 00 6c 00 |W.X.Y.Z.|......l.|
|00001b00| 00 00 00 00 00 00 24 00 | 00 00 2b 00 00 00 43 00 |......$.|..+...C.|
|00001b10| 00 00 69 00 00 00 f8 00 | 00 02 00 00 00 02 11 00 |..i.....|........|
|00001b20| 00 02 55 00 00 02 63 00 | 00 02 93 00 00 02 d0 00 |..U...c.|........|
|00001b30| 00 03 18 00 00 03 5d 00 | 00 03 96 00 00 03 df 00 |......].|........|
|00001b40| 00 03 f2 00 00 04 2f 00 | 00 04 3f 00 00 04 68 00 |....../.|..?...h.|
|00001b50| 00 04 77 00 00 04 b0 00 | 00 04 c0 00 00 05 09 00 |..w.....|........|
|00001b60| 00 05 18 00 00 05 1e 00 | 00 05 31 00 00 00 08 00 |........|..1.....|
|00001b70| 00 00 01 00 01 00 01 00 | 00 00 40 00 01 00 16 00 |........|..@.....|
|00001b80| 16 00 09 00 00 00 14 00 | 14 00 09 00 00 00 14 00 |........|........|
|00001b90| 14 00 0a 00 00 00 14 00 | 14 00 0c 00 00 00 14 00 |........|........|
|00001ba0| 14 00 0e 00 00 00 14 00 | 14 00 12 00 00 00 14 00 |........|........|
|00001bb0| 14 00 18 00 00 00 14 00 | 14 00 30 00 00 00 10 00 |........|..0.....|
|00001bc0| 02 05 54 69 6d 65 73 07 | 43 6f 75 72 69 65 72 00 |..Times.|Courier.|
|00001bd0| 00 00 04 00 00 ff ff 00 | 00 00 18 00 00 00 32 00 |........|......2.|
|00001be0| 00 00 0a 00 00 03 34 00 | 00 02 75 00 01 00 01 00 |......4.|..u.....|
|00001bf0| 03 00 70 00 00 01 00 00 | 00 03 f3 00 00 02 f3 00 |..p.....|........|
|00001c00| 00 01 36 00 5a da 48 0c | 7e 00 00 00 1c 01 36 00 |..6.Z.H.|~.....6.|
|00001c10| 0d 70 61 67 65 00 00 00 | 72 63 68 70 74 00 00 00 |.page...|rchpt...|
|00001c20| 7e 62 6f 6f 6b 00 00 00 | 8a 54 4f 43 20 00 00 00 |~book...|.TOC ...|
|00001c30| 96 54 4f 43 23 00 00 00 | a2 49 44 58 20 00 00 00 |.TOC#...|.IDX ...|
|00001c40| ae 49 44 58 23 00 00 00 | ba 49 44 58 50 00 00 00 |.IDX#...|.IDXP...|
|00001c50| c6 50 41 52 41 00 00 00 | d2 46 4f 4c 4f 00 00 00 |.PARA...|.FOLO...|
|00001c60| de 44 43 46 4e 00 00 00 | ea 44 43 46 23 00 00 00 |.DCFN...|.DCF#...|
|00001c70| f6 46 4f 4c 53 00 00 01 | 02 53 54 49 46 00 00 01 |.FOLS...|.STIF...|
|00001c80| 0e 03 e8 ff ff 00 00 00 | 00 00 00 00 00 03 e8 ff |........|........|
|00001c90| ff 00 00 00 14 00 00 00 | 00 03 e8 ff ff 00 00 00 |........|........|
|00001ca0| 6a 00 5b 6a e0 03 e8 ff | ff 00 00 00 88 00 00 00 |j.[j....|........|
|00001cb0| 00 03 e8 ff ff 00 00 00 | 9c 00 00 00 00 03 e8 ff |........|........|
|00001cc0| ff 00 00 00 d9 00 00 00 | 00 03 e8 ff ff 00 00 01 |........|........|
|00001cd0| b5 00 00 00 00 03 e8 ff | ff 00 00 01 f7 00 00 00 |........|........|
|00001ce0| 00 03 e8 ff ff 00 00 01 | fb 00 00 00 00 03 e8 ff |........|........|
|00001cf0| ff 00 00 02 6b 00 00 00 | 00 03 e8 ff ff 00 00 02 |....k...|........|
|00001d00| 77 00 00 00 00 03 e8 ff | ff 00 00 02 bb 00 00 00 |w.......|........|
|00001d10| 00 03 e8 ff ff 00 00 02 | cf 00 00 00 00 03 e8 ff |........|........|
|00001d20| ff 00 00 02 d7 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+